package com.ssm.custom.controller;

import com.ssm.custom.anno.Controller;
import com.ssm.custom.anno.RequestMapping;
import com.ssm.custom.anno.ResponseBody;

/**
 * @author: Hsiao
 * @date: 2023-11-22
 * @description:
 */
@Controller
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/details")
    @ResponseBody
    public String details(){
        return "details";
    }

    @RequestMapping("/home")
    public String toHome(){
        return "home";
    }
}
